{
    "manufacturer": "rainkeebs",
    "keyboard_name": "Twoyo",
    "maintainer": "rainkeebs",
    "development_board": "promicro",
    "diode_direction": "COL2ROW",
    "encoder": {
        "rotary": [
            {"pin_a": "F4", "pin_b": "F5"}
        ]
    },
    "features": {
        "bootmagic": true,
        "encoder": true,
        "extrakey": true,
        "mousekey": true,
        "nkro": true
    },
    "matrix_pins": {
        "cols": ["D1", "B6", "B2", "B3", "B1", "F7"],
        "rows": ["F6", "C6", "D4", "D0"]
    },
    "split": {
        "enabled": true,
        "encoder": {
            "right": {
                "rotary": [
                    {"pin_a": "D1", "pin_b": "D0"}
                ]
            }
        },
        "matrix_pins": {
            "right": {
                "cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
                "rows": ["F4", "F7", "F6", "B6"]
            }
        },
        "soft_serial_pin": "D3",
        "transport": {
            "protocol": "serial"
        }
    },
    "url": "https://www.rainkeebs.mx/product/twoyo-keyboard-kit",
    "usb": {
        "device_version": "0.0.1",
        "pid": "0x616B",
        "vid": "0x726B"
    },
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"label": "0,0", "matrix": [0, 0], "x": 0, "y": 0, "w": 1},
                {"label": "0,1", "matrix": [0, 1], "x": 1, "y": 0, "w": 1},
                {"label": "0,2", "matrix": [0, 2], "x": 2, "y": 0, "w": 1},
                {"label": "0,3", "matrix": [0, 3], "x": 3, "y": 0, "w": 1},
                {"label": "0,4", "matrix": [0, 4], "x": 4, "y": 0, "w": 1},
                {"label": "0,5", "matrix": [0, 5], "x": 5, "y": 0, "w": 1},
                {"label": "0,6", "matrix": [4, 0], "x": 8, "y": 0, "w": 1},
                {"label": "0,7", "matrix": [4, 1], "x": 9, "y": 0, "w": 1},
                {"label": "0,8", "matrix": [4, 2], "x": 10, "y": 0, "w": 1},
                {"label": "0,9", "matrix": [4, 3], "x": 11, "y": 0, "w": 1},
                {"label": "0,10", "matrix": [4, 4], "x": 12, "y": 0, "w": 1},
                {"label": "0,11", "matrix": [4, 5], "x": 13, "y": 0, "w": 1},
                {"label": "1,0", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
                {"label": "1,1", "matrix": [1, 1], "x": 1.25, "y": 1, "w": 1},
                {"label": "1,2", "matrix": [1, 2], "x": 2.25, "y": 1, "w": 1},
                {"label": "1,3", "matrix": [1, 3], "x": 3.25, "y": 1, "w": 1},
                {"label": "1,4", "matrix": [1, 4], "x": 4.25, "y": 1, "w": 1},
                {"label": "1,5", "matrix": [1, 5], "x": 5.25, "y": 1, "w": 1},
                {"label": "1,7", "matrix": [5, 1], "x": 8.25, "y": 1, "w": 1},
                {"label": "1,8", "matrix": [5, 2], "x": 9.25, "y": 1, "w": 1},
                {"label": "1,9", "matrix": [5, 3], "x": 10.25, "y": 1, "w": 1},
                {"label": "1,10", "matrix": [5, 4], "x": 11.25, "y": 1, "w": 1},
                {"label": "1,11", "matrix": [5, 5], "x": 12.25, "y": 1, "w": 1.75},
                {"label": "2,0", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
                {"label": "2,1", "matrix": [2, 1], "x": 1.75, "y": 2, "w": 1},
                {"label": "2,2", "matrix": [2, 2], "x": 2.75, "y": 2, "w": 1},
                {"label": "2,3", "matrix": [2, 3], "x": 3.75, "y": 2, "w": 1},
                {"label": "2,4", "matrix": [2, 4], "x": 4.75, "y": 2, "w": 1},
                {"label": "2,5", "matrix": [2, 5], "x": 5.75, "y": 2, "w": 1},
                {"label": "2,7", "matrix": [6, 1], "x": 8.75, "y": 2, "w": 1},
                {"label": "2,8", "matrix": [6, 2], "x": 9.75, "y": 2, "w": 1},
                {"label": "2,9", "matrix": [6, 3], "x": 10.75, "y": 2, "w": 1},
                {"label": "2,10", "matrix": [6, 4], "x": 11.75, "y": 2, "w": 1},
                {"label": "2,11", "matrix": [6, 5], "x": 12.75, "y": 2, "w": 1.25},
                {"label": "3,0", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
                {"label": "3,1", "matrix": [3, 1], "x": 1.25, "y": 3, "w": 1},
                {"label": "3,2", "matrix": [3, 2], "x": 2.25, "y": 3, "w": 1.25},
                {"label": "3,4", "matrix": [3, 4], "x": 3.5, "y": 3, "w": 2.75},
                {"label": "3,7", "matrix": [7, 1], "x": 8.25, "y": 3, "w": 2.25},
                {"label": "3,9", "matrix": [7, 3], "x": 10.5, "y": 3, "w": 1.25},
                {"label": "3,10", "matrix": [7, 4], "x": 11.75, "y": 3, "w": 1},
                {"label": "3,11", "matrix": [7, 5], "x": 12.75, "y": 3, "w": 1.25}
            ]
        }
    }
}
